
 
<?php
     echo " <ul class='productlist clear'> " ;
		$code=$_GET['code'];
		if($code == ""){
			$code = "1";
		}
		$sql = "select * from v_app_product where code = '".$code."' order by id";
		if($code == ""){
			$code = "1";
		}
		$rs = mysql_query($sql);
		while($row=mysql_fetch_array($rs)){

		$id=$row["id"];
		$src=$row["pictureName"];
		$productname=$row["productName"];
		$productInfo=$row["productInfo"];
	    $encode="utf-8";
	    
	    echo "<li class='bk_pro'>
		<div class='imageDiv'><a class='bg-pic'  href='productcontent.php?id=$id'> " .
	    		"<img title=$productname alt=$productname src='css/images/$src'> </a> </div> 
              			   <div  class='standardProductName'>商品名称:</div>
						 <div class='name'  target='_self' title=$productname href='productcontent.php ?id=$id' > <strong>$productname</strong> </div> 
						 <div class='standardModel'>型号</div> 
						 <a class='item'  target='_self' title=$productname href='productcontent.php ?id=$id' > <strong>$productname</strong> </a><br/>
            			  <div class='standardDescription'><span>产品简介</span><span class='description'> $productInfo</span></div>  
          			 
        	 </li> ";
		}
	?>



<script language="JavaScript" type="text/javascript">
	function gotoPage(pageNum){
	     location.href="/product/index_"+ pageNum + ".html";
	}
</script>
